#include "SingleRanging.h"
#include <iostream>
#include <cassert>

double SingleRanging::Ranging(const std::vector<double>& beaconRSSI)
{	
	assert(beaconRSSI.size() > 0 && beaconRSSI.size() < 3);

	auto value = beaconRSSI[0] * 1.03;
	std::cout << "单设备测距" << value << std::endl;
	return value;
}
